package main.java.factory;


import main.java.factory.config_factory.bean.Coffee;
import main.java.factory.config_factory.bean.CofferFactory;

public class Demo {
    public static void main(String[] args) {
        Coffee coffee = CofferFactory.createCoffee("american");
        System.out.println(coffee.getName());
    }
}
